"use strict";
exports.__esModule = true;
exports.Post = exports.Get = void 0;
var const_1 = require("./common/const");
require("reflect-metadata");
function Request(method) {
    return function (path) {
        return function (target, protoKey) {
            Reflect.defineMetadata(const_1.FAKE_METHOD, method, target, protoKey);
            Reflect.defineMetadata(const_1.FAKE_PATH, path, target, protoKey);
        };
    };
}
exports.Get = Request('Get');
exports.Post = Request('Post');
